package com.liu.mybatisplusdemo.entity;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import lombok.Data;

import java.io.Serializable;

@Data
public class ExcelGoods implements Serializable {

    @ColumnWidth(30)
    @ExcelProperty("商品名")
    private String name;
    @ColumnWidth(20)
    @ExcelProperty("商品数量")
    private int count;
    @ColumnWidth(60)
    @ExcelProperty("创建时间")
    private String createtime;
    @ColumnWidth(20)
    @ExcelProperty("商品有效状态")
    private String state;
}
